import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DELL
 * Date: 2022-09-14
 * Time: 20:29
 */

class Student{

    private String name;
    private Integer age;
    private double point;
    public Student(String name,int age , double point){
        this.name = name;
        this.age = age;
        this.point = point;
    }

    public String getName() {
        return name;
    }

    public Integer getAge() {
        return age;
    }

    public double getPoint() {
        return point;
    }

    @Override
    public String toString() {
        return "student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", point=" + point +
                '}';
    }
}
public class Test_0914 {
    public static void main(String[] args) {

        ArrayList<Student>list = new ArrayList<>();
        list.add(new Student("zhangsan",10,15));
        list.add(new Student("wangwu",20,25));

    }
}
